/*
 * @Description: RPC config
 * @Author: zhaokun
 * @Date: 2022-01-25 10:16:20
 * @LastEditTime: 2022-01-28 08:13:35
 * @FilePath: \user\rpc\internal\config\config.go
 */
package config

import "github.com/tal-tech/go-zero/zrpc"

type Config struct {
	zrpc.RpcServerConf
	DbEngine struct {
		Type      string
		IdleConns int
		OpenConns int
		Lifetime  int64
	}
	Mysql struct {
		DataSource string
	}
	RedisConfig struct {
		Addr     string
		Password string
		Db       int
	}
}
